package com.jxtc.enterprise.employee.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "微信小程序端修改用户密码所需要的数据")
@Getter
@Setter
@ToString
public class ChangePasswordDTO {
    @Schema(description = "公司 ID", example = "565a416545cc196d005439407b953fdd")
    @NotBlank(message = "公司 ID 不能为空")
    private String companyId;

    @Schema(description = "用户手机号", example = "13888888888")
    @NotBlank(message = "用户手机号不能为空")
    private String phone;

    @Schema(description = "新的密码", example = "123456")
    @NotBlank(message = "新的密码不能为空")
    private String password;
}
